package com.bruce.pattern.creational.factorymethod;

import org.junit.Test;

/**
 *
 */
public class MainTest {

    @Test
    public void test1(){
        AbstractVideoFactory javaVideoFactory = new JavaVideoFactory();
        AbstractVideoFactory pythonVideoFactory = new PythonVideoFactory();

        javaVideoFactory.getVideo().produce();

        pythonVideoFactory.getVideo().produce();


    }






}
